<script setup lang="ts">
const toNodered = () => {
  window.open('http://127.0.0.1:1880')
}
</script>

<template>
  <div class="link" @click="toNodered">点我跳转</div>
  <iframe src="http://127.0.0.1:1880" width="100%" height="800"></iframe>
</template>

<style scoped>
.link {
  cursor: pointer;
}
</style>
